package indv.Cning.cfengsecuritydemo.repository;

import indv.Cning.cfengsecuritydemo.entity.Tuser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Cfeng
 * @date 2022/7/21
 */

public interface TuserRepository extends JpaRepository<Tuser,Integer> {
    //自动配置
    Tuser findByUserName(String userName);
}
